package cuit.cx.groupcomment.dao;

import java.util.List;

import cuit.cx.groupcomment.model.Picture;

public interface PictureDAO 
{
 
    void addPic(Picture record);

    int updatePic(Picture record);

    Picture findPicById(Integer id);

    int deletePic(Integer id);
    
    String getMainPicUrl(Integer groupId);
    
    List<Picture> findPicByGroupId(Integer groupId);

}